Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/src/cmd/unix/drawterm/kern/devip.h

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


enum
{
	S_TCP,
	S_UDP
};

int		so_socket(int, unsigned char*);
void		so_connect(int, unsigned char*, unsigned short);
void		so_getsockname(int, unsigned char*, unsigned short*);
void		so_bind(int, int, unsigned short, unsigned char*);
void		so_listen(int);
int		so_send(int, void*, int, int);
int		so_recv(int, void*, int, int);
int		so_accept(int, unsigned char*, unsigned short*);
int		so_getservbyname(char*, char*, char*);
int		so_gethostbyname(char*, char**, int);

char*	hostlookup(char*);


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].