Last change
on this file since d87708d was a845faf, checked in by dportnoy <dmp1488@…>, 12 years ago |
Added a compiler header to determine whether a windows or linux compiler is being used
|
-
Property mode
set to
100644
|
File size:
290 bytes
|
Line | |
---|
1 | #ifndef _MESAGE_H
|
---|
2 | #define _MESSAGE__H
|
---|
3 |
|
---|
4 | #define MSG_TYPE_SOMETHING 1000
|
---|
5 |
|
---|
6 | typedef struct
|
---|
7 | {
|
---|
8 | short type;
|
---|
9 | char buffer[256];
|
---|
10 | } NETWORK_MSG;
|
---|
11 |
|
---|
12 | int sendMessage(NETWORK_MSG *msg, int sock, struct sockaddr_in *dest);
|
---|
13 |
|
---|
14 | int receiveMessage(NETWORK_MSG *msg, int sock, struct sockaddr_in *dest);
|
---|
15 |
|
---|
16 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.