Content
@
0 reply
0 recast
2 reactions
Mahshid π©
@skybird
What is Socket Programming? A socket allows communication between two different processes on the same machine or different machines. In other words, it is a way to talk to other computers using standard Unix file descriptors. In Unix, every I/O operation is done by writing to or reading from a file descriptor. A file descriptor can be an integer with an open file, and it can be a network connection, a text file, a terminal, or something else. To a programmer, a socket behaves like a low-level file descriptor. This is because commands like read() and write() work with sockets in the same way they work with files and pipes. Socket programming is a way for two nodes on a network to communicate with each other. A socket (node) listens on a specific port on the IP, until another socket arrives to establish a connection. The server establishes a listening socket until the client reaches the server.
5 replies
3 recasts
9 reactions
Donya
@donya47
It was complete information.
0 reply
0 recast
0 reaction
David M π©ππ
@0x1abcd
123 $DEGEN
1 reply
0 recast
0 reaction
Stop π©πΉ
@monthly
72 $DEGEN FOR YOU
1 reply
0 recast
0 reaction
Jesicca
@king2024
47 $DEGEN
1 reply
0 recast
0 reaction
Hani
@haniforouhi
41 $DEGEN Good luck
1 reply
0 recast
0 reaction