equal
deleted
inserted
replaced
60 * Returns the ammount of data received, 0 if there was nothing to receive, |
60 * Returns the ammount of data received, 0 if there was nothing to receive, |
61 * or a negative number if the connection was closed or an error occurred. |
61 * or a negative number if the connection was closed or an error occurred. |
62 */ |
62 */ |
63 int flib_socket_nbrecv(flib_tcpsocket sock, void *data, int maxlen); |
63 int flib_socket_nbrecv(flib_tcpsocket sock, void *data, int maxlen); |
64 |
64 |
65 int flib_socket_send(flib_tcpsocket sock, void *data, int len); |
65 int flib_socket_send(flib_tcpsocket sock, const void *data, int len); |
66 |
66 |
67 #endif /* SOCKET_H_ */ |
67 #endif /* SOCKET_H_ */ |