2002-10-22 20:29:21 +04:00
|
|
|
#ifndef _NET_SOCKET_H
|
|
|
|
#define _NET_SOCKET_H
|
|
|
|
|
|
|
|
#include <BeBuild.h>
|
2004-01-13 02:52:40 +03:00
|
|
|
|
2002-10-23 17:45:47 +04:00
|
|
|
#include <netinet/in.h> /* in_addr, sockaddr_in */
|
2002-10-22 20:29:21 +04:00
|
|
|
#include <sys/socket.h> /* sockaddr */
|
|
|
|
#include <sys/select.h>
|
|
|
|
|
2004-01-13 02:52:40 +03:00
|
|
|
#define OBOS_NET_STACK_VERSION 0x0100 /* 1.0 */
|
|
|
|
|
2002-10-22 20:29:21 +04:00
|
|
|
/*
|
|
|
|
* Be extension
|
|
|
|
*/
|
|
|
|
#define B_UDP_MAX_SIZE (65536 - 1024)
|
|
|
|
|
2002-10-25 18:02:18 +04:00
|
|
|
#endif /* _NET_SOCKET_H */
|