Commit fe9efe64fe35a913d295e1472b2076048fabc255
1 parent
bb26a05231
Exists in
master
and in
2 other branches
기본 UDP 패킷 전송 주소 변경
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
app/gui/oven_control/udphandler.cpp
... | ... | @@ -46,7 +46,8 @@ void UdpHandler::readPendingDatagrams() |
46 | 46 | |
47 | 47 | void UdpHandler::processDatagram(QByteArray &datagram) |
48 | 48 | { |
49 | - sock->writeDatagram(datagram, QHostAddress("192.168.4.70"), 40001); | |
49 | + sock->writeDatagram(datagram, QHostAddress("localhost"), 40001); | |
50 | + | |
50 | 51 | packet_t *packet = (packet_t *) datagram.data(); |
51 | 52 | switch (packet->header) |
52 | 53 | { | ... | ... |