Re: How to detect unconnected AF_UNIX sockets

2012-09-10 Thread jb
Sam Varshavchik mrsam at courier-mta.com writes: I'm porting existing code from Linux where a connect() to an AF_UNIX socket that exists, but does not have a listener, fails with ECONNREFUSED. This is quite agreeable with the comparable scenario in AF_INET, with a connection attempt

How to detect unconnected AF_UNIX sockets

2012-09-09 Thread Sam Varshavchik
I'm porting existing code from Linux where a connect() to an AF_UNIX socket that exists, but does not have a listener, fails with ECONNREFUSED. This is quite agreeable with the comparable scenario in AF_INET, with a connection attempt to a port without a listener on it. So the same code

Re: database apps that ignore sockets? [was: Solution: mysqld fails to run, can't create/find mysql.sock]

2012-01-15 Thread Chuck Swiger
On Jan 14, 2012, at 5:18 PM, Paul Beard wrote: Turns out some applications won't work if you move the socket if they are configured to access localhost. Seems like a misunderstanding of networking if you can specify a port number in a configuration file but the application looks to the

Re: database apps that ignore sockets? [was: Solution: mysqld fails to run, can't create/find mysql.sock]

2012-01-15 Thread Paul Beard
On Jan 15, 2012, at 8:17 AM, Chuck Swiger wrote: Something looking for a network location specified as a host and port (ie, localhost:3306) is using a TCP socket. Something looking for /tmp/mysqld.sock is using a UNIX domain socket. Changing the path to the UNIX domain socket will have

Re: database apps that ignore sockets? [was: Solution: mysqld fails to run, can't create/find mysql.sock]

2012-01-15 Thread Chuck Swiger
On Jan 15, 2012, at 8:43 AM, Paul Beard wrote: Useful clarification but a UNIX domain socket sounds less like networking and more like interprocess communication, i.e., something explicitly tied to a single host. Yes, that's right. There is a skip networking option for MySQL that

Re: database apps that ignore sockets? [was: Solution: mysqld fails to run, can't create/find mysql.sock]

2012-01-15 Thread Paul Beard
On Jan 15, 2012, at 9:20 AM, Chuck Swiger wrote: You're confusing two things which are different. At the risk of boring everyone on this list, I think I understand it as far as I need to: I am not the developer of the app(s) that seem to generate this issue. If you specify a path via

Re: database apps that ignore sockets? [was: Solution: mysqld fails to run, can't create/find mysql.sock]

2012-01-15 Thread Matthew Seaman
On 15/01/2012 17:20, Chuck Swiger wrote: If you specify a hostname and port via --host=localhost --port=3306, then you are describing a TCP socket. There is no pathname involved. You could connect regardless of where mysqld is putting the socket. Some MySQL clients will gratuitously change

Re: database apps that ignore sockets? [was: Solution: mysqld fails to run, can't create/find mysql.sock]

2012-01-15 Thread Matthew Seaman
On 15/01/2012 17:50, Paul Beard wrote: The app configurations are not this granular: hostname and port are configured but there is nothing that makes clear that IF you specify localhost, you WILL BE using a domain socket which MUST BE /tmp/mysql.sock and IF you move it or your distribution

database apps that ignore sockets? [was: Solution: mysqld fails to run, can't create/find mysql.sock]

2012-01-14 Thread Paul Beard
On Jan 14, 2012, at 11:15 AM, Chuck Swiger wrote: Anyway, doesn't the mysql port want to keep the socket under /var/run/mysql/mysqld.sock or some such, to avoid issues with /tmp? Turns out some applications won't work if you move the socket if they are configured to access localhost. Seems

fuser(1): do FIFOs and sockets count as named files?

2011-05-26 Thread Pan Tsu
, not sure about sockets. -- FreeBSD 9.0-CURRENT r47M amd64 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: sockets stuck in use

2010-07-20 Thread Jim
On Mon, Jul 19, 2010 at 11:04 PM, Adam Vande More amvandem...@gmail.com wrote: On Mon, Jul 19, 2010 at 3:12 AM, Jim stapleton...@gmail.com wrote: I was working on an application I've been developing, and I closed the last instance a bit over 12 hours ago, but some of the sockets are still

sockets stuck in use

2010-07-19 Thread Jim
I was working on an application I've been developing, and I closed the last instance a bit over 12 hours ago, but some of the sockets are still stuck in use: [s...@elrond ~/dev/pipe/scripts]$ netstat | grep -e 'tcp' | grep 9612 tcp4 0 0 192.168.1.80.42464 192.168.1.2.9612

Re: sockets stuck in use

2010-07-19 Thread Anonymous
Jim stapleton...@gmail.com writes: I was working on an application I've been developing, and I closed the last instance a bit over 12 hours ago, but some of the sockets are still stuck in use: [s...@elrond ~/dev/pipe/scripts]$ netstat | grep -e 'tcp' | grep 9612 tcp4 0 0

Re: sockets stuck in use

2010-07-19 Thread Jim
On Mon, Jul 19, 2010 at 10:20 AM, Anonymous swel...@gmail.com wrote: Jim stapleton...@gmail.com writes: I was working on an application I've been developing, and I closed the last instance a bit over 12 hours ago, but some of the sockets are still stuck in use: [s...@elrond ~/dev/pipe

Re: sockets stuck in use

2010-07-19 Thread Adam Vande More
On Mon, Jul 19, 2010 at 3:12 AM, Jim stapleton...@gmail.com wrote: I was working on an application I've been developing, and I closed the last instance a bit over 12 hours ago, but some of the sockets are still stuck in use: [s...@elrond ~/dev/pipe/scripts]$ netstat | grep -e 'tcp' | grep

writing divert sockets

2010-01-25 Thread yavuz
Hi all, I have a problem while writing divert sockets. I found a simple application and modified it to compile in freebsd. Simple divert socket application only prints incomming packet and reinject packet to IP stack. My simple application and test codes are available at ( http

Re: Raw sockets in jails

2010-01-25 Thread Adam Vande More
2010/1/24 Nathan Butcher n-butc...@fusiongol.com I'm just curious as to whether FreeBSD8.0 can support raw sockets on some jails and not on others. I'm trying to find the jail flags to allow this to happen. Not having much luck. Any ideas? http://www.mail-archive.com/freebsd-j

Re: Raw sockets in jails

2010-01-25 Thread Nathan Butcher
support raw sockets on some jails and not on others. I'm trying to find the jail flags to allow this to happen. Not having much luck. Any ideas? http://www.mail-archive.com/freebsd-j...@freebsd.org/msg00978.html -- フュージョン・コミュニケーションズ株式会社 ■楽天ブロードバンド■ インターネットサービス事業部 システム技術グループ Nathan Butcher

Re: Raw sockets in jails

2010-01-25 Thread Tim Judd
start test ... and then I get the following cryptic response... Configuring jails:. Starting jails: cannot start jail test: But it doesn't look like one. . ... and the jail doesn't start. What's the story there? allowing raw sockets to a jail is a sysctl sysctl -a | grep jail. the raw

Raw sockets in jails

2010-01-24 Thread Nathan Butcher
I'm just curious as to whether FreeBSD8.0 can support raw sockets on some jails and not on others. I'm trying to find the jail flags to allow this to happen. Not having much luck. Any ideas? ___ freebsd-questions@freebsd.org mailing list http

Binding SCTP sockets to the IPv6 lopback address

2008-10-15 Thread Bruce Cran
I've been writing some basic SCTP socket code and have found that SCTP doesn't bind to the loopback IPv6 address - it binds to all the other addresses, including the external IPv6, link-local and IPv4 loopback addresses. Is there something about the way SCTP works that means it doesn't work

nss_ldap leaving sockets open

2008-09-03 Thread Jeremy Johnston
I seem to have encountered a rather annoying and puzzling problem, I am running nss_ldap on 7.0-STABLE with openldap-server 2.4.11 on the same server. I have nss_ldap configured to connect over a unix socket. This works great except for the fact it seems the connections are never being closed.

Sockets stuck in CLOSED state...

2008-06-18 Thread Ali Niknam
length information). It gets back 0 bytes (EOF) and therefore closes the sockets and calls pthread_exit. However in netstat that same stream oftenly appears to have bytes 'stuck' in the in queue... I really can't see how this can cause hanging sockets in 'CLOSED' state. Even if the incoming

Re: Sockets stuck in CLOSED state...

2008-06-18 Thread Wojciech Puchar
... tcp4 0 0 1.2.3.4.* 4.5.6.7.42149 CLOSED tcp4 39 0 1.2.3.4.* 4.5.6.7.54103 CLOSED tcp4 35 0 1.2.3.4.* 4.5.6.7.41718 CLOSED tcp4 38 0 1.2.3.4.* 4.5.6.7.55618 CLOSED tcp4 41 0

Re: Sockets stuck in CLOSED state...

2008-06-18 Thread Ali Niknam
Wojciech Puchar wrote: #define socket TEST_SOCKET ... and write one .c program where all these TEST_* functions are defined, doing the same as original PLUS logging to file. after a while (when you see this closed/unclosed connections) stop it and look at logs. Thank you for the

Re: send error with perl and unix domain sockets

2007-05-01 Thread Andy Greenwood
Sent this a while back and never got a response. Any ideas would be very appreciated! Thanks! I'm working on getting a script to work (see below). It is a perl daemon associated with a bittorent client that I am helping develop. The daemon uses unix domain sockets to commincate with the php

Re: send error with perl and unix domain sockets

2007-05-01 Thread Theorem
with a bittorent client that I am helping develop. The daemon uses unix domain sockets to commincate with the php pages. However, anytime a message is sent via php, the script dies with send: Cannot determine peer address at /usr/local/www/root/tf-b4rt/trunk/html/bin/fluxd/fluxd.pl line 1256 I did some

send error with perl and unix domain sockets

2007-04-12 Thread Andy Greenwood
I'm working on getting a script to work (see below). It is a perl daemon associated with a bittorent client that I am helping develop. The daemon uses unix domain sockets to commincate with the php pages. However, anytime a message is sent via php, the script dies with send: Cannot determine

Re: FreeBSD 6.1 max sockets

2006-10-20 Thread Girish Venkatachalam
On Thu, Oct 19, 2006 at 11:24:30PM +0800, ke han wrote: I am writing a socket server deamon in C++ on FreeBSD 6.1 (or 6.2 if this matters to your answer). What this does is accept many sockets and does a little work with each. Each socket has low traffic but stay connected for long

Re: FreeBSD 6.1 max sockets

2006-10-20 Thread ke han
Thanks for the reply. This app is intended to keep 20,000++ sockets alive at a time. These sockets are very long lived. I understand about kqueue. I will eventually write for this. What I need to understand are the various kernel tunings required to handle 20,000++ active sockets. I would

Re: FreeBSD 6.1 max sockets

2006-10-20 Thread Girish Venkatachalam
On Fri, Oct 20, 2006 at 04:17:52PM +0800, ke han wrote: Thanks for the reply. This app is intended to keep 20,000++ sockets alive at a time. These sockets are very long lived. I understand about kqueue. I will eventually write for this. What I need to understand are the various kernel

FreeBSD 6.1 max sockets

2006-10-19 Thread ke han
I am writing a socket server deamon in C++ on FreeBSD 6.1 (or 6.2 if this matters to your answer). What this does is accept many sockets and does a little work with each. Each socket has low traffic but stay connected for long periods. All these sockets get accepted through one public

Re: FreeBSD 6.1 max sockets

2006-10-19 Thread Chuck Swiger
On Oct 19, 2006, at 8:24 AM, ke han wrote: So my desire is two things: 1 - good event handling for knowing which sockets have new data. I assume kqueue is the way to go here? kqueue would be a fine choice, otherwise the typical mechanism involves using select(). 2 - I need to know what

Re: how to block rj45 sockets.

2006-10-03 Thread Chuck Swiger
On Oct 2, 2006, at 4:44 PM, Marwan Sultan wrote: Do you recommend any good switch product and model number which has port enable.disable feature ? other than cisco, in a good price? You're looking for managed switches; the HP Procurve lineup, and the 3com SuperStack III models are also

Re: how to block rj45 sockets.

2006-10-03 Thread Marwan Sultan
Gurus Thank you all for your advices, I would go ahead and look for managed switches :) Belkin was a mistake, Thank you again Marwan Get real switching hardware to replace those Belkins. Cisco and other switches will allow you to enable/disable ports on demand. Do you recommend any

how to block rj45 sockets.

2006-10-02 Thread Marwan Sultan
Hello All, Well, seems no one has any answer for my previuos question, So I will just rephase the Question. I have a 66 wall rj45 sockets devided by 4 Belking SwitchHubs connected to FreeBSD 6.1-R Server acting as internet gateway. Can by anyhow block some sockets (ports) from the serve

Re: how to block rj45 sockets.

2006-10-02 Thread Bill Moran
In response to Marwan Sultan [EMAIL PROTECTED]: Hello All, Well, seems no one has any answer for my previuos question, So I will just rephase the Question. I have a 66 wall rj45 sockets devided by 4 Belking SwitchHubs connected to FreeBSD 6.1-R Server acting as internet gateway

Re: how to block rj45 sockets.

2006-10-02 Thread Marwan Sultan
Do you recommend any good switch product and model number which has port enable.disable feature ? other than cisco, in a good price? Cisco is litl bit expensive specially im talking about 24 switch each, 20 ports!! thank you Marwan Sultan Get real switching hardware to replace those

Re: how to block rj45 sockets.

2006-10-02 Thread Bill Moran
Marwan Sultan [EMAIL PROTECTED] wrote: Get real switching hardware to replace those Belkins. Cisco and other switches will allow you to enable/disable ports on demand. Do you recommend any good switch product and model number which has port enable.disable feature ? other than cisco, in

Re: how to block rj45 sockets.

2006-10-02 Thread Jonathan Horne
Get real switching hardware to replace those Belkins. Cisco and other switches will allow you to enable/disable ports on demand. -- Bill Moran Collaborative Fusion Inc. On Monday 02 October 2006 18:44, Marwan Sultan wrote: Do you recommend any good switch product and model number

Re: how to block rj45 sockets.

2006-10-02 Thread Olivier Nicole
Do you recommend any good switch product and model number which has port enable.disable This is refeered to as manageable switch, or managed switch, or SNMP manageable. See with your prefered dealer according to your budget. Of course if the switches are in a closed rack, you can also simply

Re: how to block rj45 sockets.

2006-10-02 Thread Norberto Meijome
On Mon, 02 Oct 2006 23:44:01 + Marwan Sultan [EMAIL PROTECTED] wrote: Cisco is litl bit expensive specially im talking about 24 switch each, 20 ports!! If price is an issue, you can look into what some smaller vendors (such as linksys (now of cisco too, but cheaper), Netgear and others)

very strange sockets problem

2006-07-27 Thread Steel City Phantom
im running bas 6.1, java 1.5 and jboss 4. i have a servlet that interfaces with a bank over a socket connection. pretty basic setup. everything works fine for the current two banks that we interface with. i am in the process of trying to bring up a third bank. the socket opens correctly,

Re: very strange sockets problem

2006-07-27 Thread Chuck Swiger
Steel City Phantom wrote: [ ... ] i have eliminated all hardware in between the two systems. i dumped the traffic with tcpdump and the machine does actually receive the data. me and my team of developers are stumped, jboss support is stumped, i was wondering if any of you guys could think of

can't link against net/Sockets

2006-07-02 Thread Xian
I've just installed /usr/ports/net/Sockets and cant link against libSockets that it produced. Having fetched a some of the demo files from http://www.alhem.net/Sockets/tutorial/ I then try to compile: c++ -O2 -fno-strict-aliasing -pipe -march=athlon-xp -g -I/usr/local/include/Sockets -c

Re: How to raise the limit for sockets

2006-06-22 Thread Nikos Vassiliadis
On Thursday 22 June 2006 06:12, [EMAIL PROTECTED] wrote: Hi all, How can I raise the file descriptors limits for each socket in FBSD 5.4? Each socket is a descriptor. I guess you need something like: from limits(1): -n [val] Select or set the openfiles resource limit. The

How to raise the limit for sockets

2006-06-21 Thread scuba
Hi all, How can I raise the file descriptors limits for each socket in FBSD 5.4? Thank You, - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

Re: SIGCHLD and sockets HELP!

2006-04-11 Thread Alex Zbyslaw
Keith Bottner wrote: I am having a problem with SIGCHLD signals and their interaction with sockets. I have an application that forks modules in separate processes and use UNIX domain sockets for communication. The main application handles the SIGCHLD signal so that it can detect when

SIGCHLD and sockets HELP!

2006-04-10 Thread Keith Bottner
I am having a problem with SIGCHLD signals and their interaction with sockets. I have an application that forks modules in separate processes and use UNIX domain sockets for communication. The main application handles the SIGCHLD signal so that it can detect when/if a module crashes and if so

SIGCHLD and sockets

2006-04-03 Thread Keith Bottner
I am having a problem with SIGCHLD signals and their interaction with sockets. I have an application that forks modules in separate processes and use UNIX domain sockets for communication. The main application handles the SIGCHLD signal so that it can detect when/if a module crashes and if so

IEEE 802.11 Wireless Multimedia Extension (WME) and raw sockets

2006-02-09 Thread Geir Egeland
sockets to transmit the IP packets. This all works well if ip-ip_len is less than 192 bytes. If ip_ip_len is larger than 192, the call to ieee80211_classify (/usr/src/sys/net80211/ieee80211_output.c) will classify the packet as BEST EFFORT no matter what value my application set the TOS field

Re: IEEE 802.11 Wireless Multimedia Extension (WME) and raw sockets

2006-02-09 Thread Sam Leffler
, VIDEO). It uses raw sockets to transmit the IP packets. This all works well if ip-ip_len is less than 192 bytes. If ip_ip_len is larger than 192, the call to ieee80211_classify (/usr/src/sys/net80211/ieee80211_output.c) will classify the packet as BEST EFFORT no matter what value my application set

PostgreSQL TCP sockets access?

2005-01-24 Thread SigmaX
Hey; I have a fairly fresh installation of FreeBSD 5.3 running PostGreSQL. I enabled TCP socket connection in the /usr/local/pgsql/data/postgresql.conf file (tcpip_socket = true), and allowed all hosts in pg_hba.conf (host all all 0.0.0.0 0.0.0.0 trust)... but I still get a connection refused

RE: PostgreSQL TCP sockets access?

2005-01-24 Thread Ted Mittelstaedt
Who did the port? Perhaps you could e-mail him or her? Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of SigmaX Sent: Tuesday, January 25, 2005 8:17 PM To: freebsd-questions@freebsd.org Subject: PostgreSQL TCP sockets access? Hey; I have

Re: PostgreSQL TCP sockets access?

2005-01-24 Thread Tim Hawkins
On Wednesday 26 Jan 2005 04:16, SigmaX wrote: Hey; I have a fairly fresh installation of FreeBSD 5.3 running PostGreSQL. I enabled TCP socket connection in the /usr/local/pgsql/data/postgresql.conf file (tcpip_socket = true), and allowed all hosts in pg_hba.conf (host all all 0.0.0.0 0.0.0.0

Multiple sockets running as threads

2004-08-31 Thread ashok . sivaprakasam
Hi All When I try to create receiver socket in multiple threads and make it to receive from multiple clients one thread becomes predominent and the other threads stops receiving from the client after that.This problems occurs when i try to send messages of size 1 m.b for each receiver

Equitable Sharing between TCP Sockets

2004-08-21 Thread R. W.
, and intermittent, interactive applications would quickly gain their fair share. Under FreeBSD a couple of sockets at a time tend to hog most of the bandwidth, and interactive applications get frozen out. I don't know what Windows is doing right, but I'm guessing it has some kind collective

Equitable Sharing between TCP Sockets

2004-08-21 Thread R. W.
, and intermittent, interactive applications would quickly gain their fair share. Under FreeBSD a couple of sockets at a time tend to hog most of the bandwidth, and interactive applications get frozen out. I don't know what Windows is doing right, but I'm guessing it has some kind collective

Re: Equitable Sharing between TCP Sockets

2004-08-21 Thread R. W.
socket would tend to receive at about the same rate, and intermittent, interactive applications would quickly gain their fair share. Under FreeBSD a couple of sockets at a time tend to hog most of the bandwidth, and interactive applications get frozen out. I don't know what Windows is doing right

Re: Equitable Sharing between TCP Sockets

2004-08-21 Thread Dan Nelson
would tend to receive at about the same rate, and intermittent, interactive applications would quickly gain their fair share. Under FreeBSD a couple of sockets at a time tend to hog most of the bandwidth, and interactive applications get frozen out. I don't know what Windows is doing right

Query about Divert Sockets ...!

2004-04-20 Thread praveen handigol
Hello Sir / Madam., I have installed FreeBSD on my machine and running an application which uses Divert Sockets. But i have encountered an error saying that can't bind divert socket: address already in use. I am using a same system for both Client and Server. Do

Re: sockets

2003-03-27 Thread Giorgos Keramidas
On 2003-03-27 10:05, Jesus Daniel Valencia Sanchez [EMAIL PROTECTED] wrote: On Thu, 27 Mar 2003, Giorgos Keramidas wrote: Make sure you include sys/types.h before sys/socket.h. Hello thank you very much... that was it. i wonder why didn't they #include sys/types.h inside sockets.h if it

Re: sockets

2003-03-27 Thread Jesus Daniel Valencia Sanchez
On Fri, 28 Mar 2003, Giorgos Keramidas wrote: On 2003-03-27 10:05, Jesus Daniel Valencia Sanchez [EMAIL PROTECTED] wrote: On Thu, 27 Mar 2003, Giorgos Keramidas wrote: Make sure you include sys/types.h before sys/socket.h. Hello thank you very much... that was it. i wonder why

Re: sockets

2003-03-26 Thread Jesus Daniel Valencia Sanchez
On Wed, 26 Mar 2003, Giorgos Keramidas wrote: On 2003-03-25 19:07, Jesus Daniel Valencia Sanchez [EMAIL PROTECTED] wrote: I'm using R4.6.2 and when i try to compile anything with the file sys/socket.h i get tons of error messages INSIDE that file. is there anything i should know about

Re: sockets

2003-03-26 Thread Giorgos Keramidas
On 2003-03-26 09:37, Jesus Daniel Valencia Sanchez [EMAIL PROTECTED] wrote: On Wed, 26 Mar 2003, Giorgos Keramidas wrote: On 2003-03-25 19:07, Jesus Daniel Valencia Sanchez [EMAIL PROTECTED] wrote: I'm using R4.6.2 and when i try to compile anything with the file sys/socket.h i get tons of

sockets

2003-03-25 Thread Jesus Daniel Valencia Sanchez
---BeginMessage--- hello I'm using R4.6.2 and when i try to compile anything with the file sys/socket.h i get tons of error messages INSIDE that file. is there anything i should know about it? any help will be very appreciated thank you Daniel Valencia - have fun ---End Message---

Re: sockets

2003-03-25 Thread Giorgos Keramidas
On 2003-03-25 19:07, Jesus Daniel Valencia Sanchez [EMAIL PROTECTED] wrote: I'm using R4.6.2 and when i try to compile anything with the file sys/socket.h i get tons of error messages INSIDE that file. is there anything i should know about it? any help will be very appreciated Show us the

MPI / IPC / Sockets / et cetera

2003-03-14 Thread Walter
Hi all, I'm looking for a messaging, IPC, whatever library to allow live and delayed messaging from one computer program to another, on the same or on different machines, whatever. Rather than re-invent the wheel, I went looking at the ports and saw this: mpich-1.2.4_1. Is this all? (It

problems configuring ipfw via raw sockets

2003-01-23 Thread Alex
Hi ppl! I need to use direct access to ipfw rules via raw sockets instead of some scripts using ipfw utility. I looked into ipfw sources and made a simple program to test if I could add a simple rule this way. Just rewrote pieces of original code into my program w/out any serious change

problems with adding ipfw rules via raw sockets

2003-01-22 Thread Alex
Hi ppl! I need to use direct access ti ipfw rules via raw sockets instead of some scripts using ipfw utility. I looked into ipfw sources and made a simple program to test if I could add a simple rule this way. Just rewrote pieces of original code intomy program w/out any serious change

[Q] Sockets verses message queues?

2002-10-25 Thread Jonathan Belson
advantage to using AF_UNIX sockets rather than message queues, or vice versa (I was thinking about speed, but sockets seem to be more complicated code-wise)? Cheers, --Jon http://www.witchspace.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body

Re: [Q] Sockets verses message queues?

2002-10-25 Thread Fernando Gleiser
will send a message back when it's finished. Is there any advantage to using AF_UNIX sockets rather than message queues, or vice versa (I was thinking about speed, but sockets seem to be more complicated code-wise)? I seem to recall that on BSD systems sockets are faster than message queues (SysV msg

Re: Is there any way that i can listening ,accepting and handeling two or more sockets at the same time?

2002-10-13 Thread Giorgos Keramidas
On 2002-10-10 22:49, alireza mahini [EMAIL PROTECTED] wrote: I want to accepting and handle (sending to and receiving from) two sockets (STREAM socket) at the same time please guide me and send me a sample code written in c++ about this title for me. Thanks for your attention. If you can get

Is there any way that i can listening ,accepting and handeling two or more sockets at the same time?

2002-10-10 Thread alireza mahini
I want to accepting and handeling(sending to and receiving from) two sockets(STREAM socket)at the same time please guide me and send me a sample code written in c++ about this title for me. Thanks for your attention. __ Do you Yahoo!? Faith

Re: BSD Sockets API

2002-07-18 Thread Fernando Gleiser
On Wed, 17 Jul 2002, Sulaiman Khan wrote: Hello, I am currently working on BSD sockets and I am making a product compatiable with BSD Sockets. Where can I find a complete list of the BSD Sockets API and realated API. Unix Network Programming, 2d Ed, Vol 1: Networking APIs The book you