filmov
tv
Socket Programming in C, C++ Part - 5 (setsockopt system call)

Показать описание
Welcome to the series of videos on socket programming with C/C++
In this video, I have discussed about the function setsockopt to set various socket options in C/C++ socket programming.
Sometimes our requirement could be to let the socket resue the same address , port , protocol which is already in use by some other socket (use SO_REUSEADDR) and
Sometimes our requirement could be to not let the socket resue the same address , port , protocol which is already in use by some other socket (SO_EXCLUSIVEADDRUSE).
setsockopt can be useful in such situations.
Apart from this, there are many other options like may need to receive the out of bound data or may need to send the KEEPALIVE messages. In all such situations, the answer is setsockopt function call.
But, you just need to remember that you should call the function before the bind system/function call else it won't take effect!!
For further and complete references, just visit:
In this video, I have discussed about the function setsockopt to set various socket options in C/C++ socket programming.
Sometimes our requirement could be to let the socket resue the same address , port , protocol which is already in use by some other socket (use SO_REUSEADDR) and
Sometimes our requirement could be to not let the socket resue the same address , port , protocol which is already in use by some other socket (SO_EXCLUSIVEADDRUSE).
setsockopt can be useful in such situations.
Apart from this, there are many other options like may need to receive the out of bound data or may need to send the KEEPALIVE messages. In all such situations, the answer is setsockopt function call.
But, you just need to remember that you should call the function before the bind system/function call else it won't take effect!!
For further and complete references, just visit:
Just Write an HTTP Server?? #programming #coding #lowcode
Socket Programming in C for Beginners | Group Chat Application | Multi Threaded + Multiple Users|E4|
What is socket | How socket works | Types of Sockets | Socket Address | TCP Socket | UDP Socket
The Linux socket API explained
TCP Client Server Implementation in C | Socket Programming in C
20.TCP SOCKET - Windows System Programming in C/C++
Learn Socket Programming Tutorial in C from Scratch
Lecture 01: Socket Programming in C
movie on socket programming 👩🏫 📕 ✒| socket programing in C | what is socket
2.7 Socket programming
Basic server and client socket programming in C
#04 Socket Programming in C: Creating a UDP Server
Socket Programming functions | TCP Socket Programing functions | UDP Socket Programing functions
Lec-90: Socket Programming in Computer Networks
#03 Socket Programming in C: Creating a TCP Client
Tcp socket programming in C | Multiple client example in Socket Programming | Sequential Server
TCP Client Server Program in C | Socket Programming
How to compile and run server client code - Socket Programming
TCP/IP Socket Programming Advance Project - Develop Complex TCP Servers in C/C++
Network Socket in C (Server)
Socket Programming in C# (Overview)
Socket Programming Using Python
SOCKET IN C - Client & Server
Socket Programming in C/C++ (Basics of socket programming before you start the actual coding)
Комментарии