Unix/Linux Go Back    

Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

socket creation!!!


Thread Tools Search this Thread Display Modes
Old Unix and Linux 06-16-2008
sriprasads sriprasads is offline
Registered User
Join Date: Jun 2008
Last Activity: 27 June 2008, 2:06 AM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
socket creation!!!


i'm using a TCP_IP socket.
everyone knows that in a client/server program, wen client sends a lot of packets continuously and if there is a delay in reading from the socket on the server side, the recv(), call reads everything from the buffer...

thats is the problem i'm facing. so i'm tryin to create a socket with SOCK_SEQPACKET, type... i know we cant use AF_INET family, i tried PF_INET, but it still doesn't work.

can anyone say how to use this sock_seqpacket type???

Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Clarification - Setting socket options at the same time when socket is listening jake24 IP Networking 2 04-19-2011 02:19 PM
Error with socket operation on non-socket vin_pll Programming 1 04-02-2010 07:42 AM
socket function to read a webpage (socket.h) cyler Programming 3 04-01-2010 03:32 PM
which socket should socket option on be set blademan100 Programming 1 03-04-2009 01:31 PM
connect problem for sctp socket (ipv6 socket) - Runtime fail Invalid Arguments chandrutiptur UNIX for Advanced & Expert Users 0 02-26-2009 07:09 AM

All times are GMT -4. The time now is 03:31 AM.