Skip to content

Latest commit

 

History

History
42 lines (38 loc) · 453 Bytes

tcp&udp_systemcalls.md

File metadata and controls

42 lines (38 loc) · 453 Bytes

TCP

Hier die systemcalls, die benötigt werden, um eine TCP Verbindung zu öffnen:

Client

socket()
-> connect()
recv()
send()
close()

Server

socket()
-> bind()
-> listen()
-> accept()
send()
recv()
close()

UDP

Hier die systemcalls, die benötigt werden, um eine UPD Verbindung zu öffnen:

Client

socket()
-> bind()
revfrom()
sendto()
close()

Server

socket()
-> bind()
recvfrom()
sendto()
close()