wip
Dependents: EthernetInterface_vz
Fork of Socket by
Diff: UDPSocket.cpp
- Revision:
- 21:9e672d32fbb4
- Parent:
- 18:d56496360fc9
- Child:
- 24:422fa048a516
diff -r 434906b5b977 -r 9e672d32fbb4 UDPSocket.cpp --- a/UDPSocket.cpp Mon Aug 19 18:38:18 2013 +0300 +++ b/UDPSocket.cpp Wed Jan 07 21:48:05 2015 +0000 @@ -92,3 +92,7 @@ socklen_t remoteHostLen = sizeof(remote._remoteHost); return lwip_recvfrom(_sock_fd, buffer, length, 0, (struct sockaddr*) &remote._remoteHost, &remoteHostLen); } + +int UDPSocket::get_fd(){ + return _sock_fd; +}