author | mickeyl <mickeyl> | 2003-03-30 01:51:14 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-03-30 01:51:14 (UTC) |
commit | d11a0154e2d9732854c9a3d598857bc20f359849 (patch) (side-by-side diff) | |
tree | af0e0273d01f4f6c64c9f230f22bb91a7a8a21d8 /noncore/net/wellenreiter/libwellenreiter/docs/wl_sock.8 | |
parent | 99899abc80a8aa05044eeecd8a061b0a8efaa713 (diff) | |
download | opie-d11a0154e2d9732854c9a3d598857bc20f359849.zip opie-d11a0154e2d9732854c9a3d598857bc20f359849.tar.gz opie-d11a0154e2d9732854c9a3d598857bc20f359849.tar.bz2 |
- the network work for libopie2 pays off...
- good bye to wellenreiterd, t'was fun but always too unstable and too hard to maintain
- good bye to libwellenreiter
Diffstat (limited to 'noncore/net/wellenreiter/libwellenreiter/docs/wl_sock.8') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/libwellenreiter/docs/wl_sock.8 | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/docs/wl_sock.8 b/noncore/net/wellenreiter/libwellenreiter/docs/wl_sock.8 deleted file mode 100644 index 62e935b..0000000 --- a/noncore/net/wellenreiter/libwellenreiter/docs/wl_sock.8 +++ b/dev/null @@ -1,26 +0,0 @@ -wl_sock - -#include <wellenreiter/wl_sock.hh> - -int wl_setupsock(const char *host, int port, struct sockaddr_in *) -int wl_send(const char *host, int port, const char *string, ...) -int wl_recv(int *socket, struct sockaddr_in *, char *out, int len) - - -wl_setupsock() returns the number of the activated udp socket. - -wl_send() sends string to the given host. - -wl_recv() checks for incoming data on a socket (created using -wl_setupsock()). It writes the incoming data to out with a -maxlen of len. - - -wl_setupsock() returns -1 on error and the number of socket on -success. -wl_send() returns 0 on error and 1 on success. -wl_recv() returns -1 on error and the type of the received packet -on success. - -Note: To use this function you have to set a sockaddr_in structure -and pass it to wl_setupsock and wl_receive. |