for EthernetInterface library compatibility.\\ ** Unoffical fix. may be a problem. **
Dependents: SNIC-httpclient-example SNIC-ntpclient-example
Fork of SNICInterface by
Diff: Socket/UDPSocket.h
- Revision:
- 33:33f1bc919486
- Parent:
- 29:6a0ba999597d
- Child:
- 39:a1233ca02edf
--- a/Socket/UDPSocket.h Fri May 30 08:30:40 2014 +0000 +++ b/Socket/UDPSocket.h Tue Jun 03 08:53:07 2014 +0000 @@ -54,7 +54,7 @@ \param port The port to listen for incoming connections on \return 0 on success, -1 on failure. */ - int bind(int port); + int bind(short port); /** Send a packet to a remote endpoint \param remote The remote endpoint