mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
correct reference to ASSIGNMENT_SERVER_PORT
This commit is contained in:
parent
45d84add05
commit
bba8cf86cc
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ int main(int argc, const char* argv[]) {
|
|||
unsigned char senderData[MAX_PACKET_SIZE_BYTES] = {};
|
||||
ssize_t receivedBytes = 0;
|
||||
|
||||
UDPSocket serverSocket(ASSIGNMENT_SERVER_LISTEN_PORT);
|
||||
UDPSocket serverSocket(ASSIGNMENT_SERVER_PORT);
|
||||
|
||||
int numHeaderBytes = numBytesForPacketHeader((unsigned char*) &PACKET_TYPE_SEND_ASSIGNMENT);
|
||||
unsigned char assignmentPacket[numHeaderBytes + sizeof(char)];
|
||||
|
|
Loading…
Reference in a new issue