Changeset 363 in flair-src for trunk/lib/FlairCore/src/unexported
- Timestamp:
- Sep 3, 2020, 8:54:16 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/src/unexported/UdpSocket_impl.h
r178 r363 33 33 34 34 void SendMessage(std::string message); 35 void SendMessage(const char * src, size_t src_len);35 void SendMessage(const char *msg, size_t msg_len,int dst_id); 36 36 ssize_t RecvMessage(char *msg, size_t msg_len, flair::core::Time timeout, 37 char *src = NULL, size_t *src_len = NULL );37 char *src = NULL, size_t *src_len = NULL,int *src_id=NULL); 38 38 39 39 private: … … 44 44 void Init(void); 45 45 const flair::core::UdpSocket *self; 46 struct sockaddr_in sock_in; 46 struct sockaddr_in *sock_in; 47 size_t sock_in_size; 47 48 #ifdef __XENO__ 48 49 bool is_running;
Note:
See TracChangeset
for help on using the changeset viewer.