Skip to content

if you wanna start socket study, this project can be a good choose for your journey of socket

License

Notifications You must be signed in to change notification settings

wustzhy/socket_study

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

welcome for socket Study here

If you wanna start your socket study, this project can be a good choise. Let's go ahead ~'


基本用法

创建     int socket(int domain, int type, int protocol);

连接 int connect(int, const struct sockaddr *, socklen_t) __DARWIN_ALIAS_C(connect);

发送数据 ssize_t send(int, const void *, size_t, int) __DARWIN_ALIAS_C(send);

读取数据 ssize_t recv(int, void *, size_t, int) __DARWIN_ALIAS_C(recv);


详见👇

来我的简书遛弯吧^_^ socket入门回顾


About

if you wanna start socket study, this project can be a good choose for your journey of socket

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published