Results 1 to 5 of 5
Hello,
How to send/recv URGENT data on TCP application using socket options.
Thanks in advance,
Srini....
- 07-05-2007 #1Just Joined!
- Join Date
- May 2007
- Posts
- 8
send/recv urgdata on tcp application
Hello,
How to send/recv URGENT data on TCP application using socket options.
Thanks in advance,
Srini.
- 07-05-2007 #2
Use MSG_OOB flag while sending.
Eg:
send (sock_fd, data, (data_length), MSG_OOB)
This shud do.
---------------------------------
Registered Linux User #440311
HI2ARUN _AT_ GMAIL _DOT_ COM
---------------------------------
- 07-05-2007 #3Just Joined!
- Join Date
- May 2007
- Posts
- 8
- 07-05-2007 #4
Using setsockopt u can say how to handle Urg data.
It looks like, u need to send data with URG set only on certain occasions. If you can be a bit clear on what u expect, we can try to come out with some more clear explanations.Can't we send without using MSG_OOB. Is it possible to use setsockopt() for sending urgdata.---------------------------------
Registered Linux User #440311
HI2ARUN _AT_ GMAIL _DOT_ COM
---------------------------------
- 07-05-2007 #5Just Joined!
- Join Date
- May 2007
- Posts
- 8


Reply With Quote

