Re: How to detect unconnected AF_UNIX sockets

2012-09-10 Thread jb
Sam Varshavchik 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 to a

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 handl

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

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 ch

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 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 refe

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 h

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 f

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. Seem

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

2011-05-26 Thread Pan Tsu
-- 0 rw fuser(1) on BusyBox/Linux does show open FIFOs, 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 wrote: > On Mon, Jul 19, 2010 at 3:12 AM, Jim 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 stu

Re: sockets stuck in use

2010-07-19 Thread Adam Vande More
On Mon, Jul 19, 2010 at 3:12 AM, Jim 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'

Re: sockets stuck in use

2010-07-19 Thread Jim
On Mon, Jul 19, 2010 at 10:20 AM, Anonymous wrote: > Jim 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/pi

Re: sockets stuck in use

2010-07-19 Thread Anonymous
Jim 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

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 1

Re: Raw sockets in jails

2010-01-25 Thread Tim Judd
t jail with > > # /etc/rc.d/jail 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&

Re: Raw sockets in jails

2010-01-25 Thread Nathan Butcher
ollowing 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? On 1/26/2010 12:29 AM, Adam Vande More wrote: > 2010/1/24 Nathan Butcher > >> I&#

Re: Raw sockets in jails

2010-01-25 Thread Adam Vande More
2010/1/24 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? > > http://www.mail-archive.com

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

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

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 ov

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.

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: 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 1.2.3

Sockets stuck in CLOSED state...

2008-06-18 Thread Ali Niknam
ries to read 2 bytes (DNS tcp 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 soc

Re: send error with perl and unix domain sockets

2007-05-01 Thread Theorem
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 peer address at /usr/local/www/root/tf-b4rt/trunk/html/bin/fluxd/fluxd

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 th

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 dete

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

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 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 connec

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

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: 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 recommen

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 pr

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 othe

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 simpl

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 mod

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 tha

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 Belki

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 > Free

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: 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

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, t

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/Socke

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 sy

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 "[EMA

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/if a

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

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

2006-02-09 Thread Sam Leffler
ORT, VOICE, 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

IEEE 802.11 Wireless Multimedia Extension (WME) and raw sockets

2006-02-09 Thread Geir Egeland
t 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 applica

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

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 acce

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 ref

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 thr

Re: Equitable Sharing between TCP Sockets

2004-08-21 Thread Dan Nelson
> > Under windows each tcp 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

Re: Equitable Sharing between TCP Sockets

2004-08-21 Thread R. W.
98. > > Under windows each tcp 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

Equitable Sharing between TCP Sockets

2004-08-21 Thread R. W.
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, but I'm guessing it

Equitable Sharing between TCP Sockets

2004-08-21 Thread R. W.
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, but I'm guessing it

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 Cl

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 before . > > > > Hello > > thank you very much... that was it. > > > > i wonder why didn't

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 before . > > Hello > thank you very much... that was it. > > i wonder why didn't they #include inside sockets.h if it was > needed. Intentionall

Re: sockets

2003-03-27 Thread Jesus Daniel Valencia Sanchez
On Thu, 27 Mar 2003, Giorgos Keramidas wrote: > 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

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 g

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

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

sockets

2003-03-25 Thread Jesus Daniel Valencia Sanchez
--- Begin Message --- 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 --- ___

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 seemed

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. But

Re: [Q] Sockets verses message queues?

2002-10-25 Thread Fernando Gleiser
ther things, and the slave 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

[Q] Sockets verses message queues?

2002-10-25 Thread Jonathan Belson
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)? Cheers, --Jon http://www.witchspace.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questio

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

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

2002-10-11 Thread Bill Moran
alireza mahini wrote: > 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. Consider researching the

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: Sockets function list

2002-07-24 Thread Balaji, Pavan
esday, July 24, 2002 3:03 AMTo: [EMAIL PROTECTED]Subject: Sockets function list Hello,   The sockets for my software are based on the BSD Sockets API. I want to make it fully compatiable with the BSD Sockets. For that I require a complete listing of the BSD Sockets function protot

Sockets function list

2002-07-24 Thread Sulaiman Khan
Hello,   The sockets for my software are based on the BSD Sockets API. I want to make it fully compatiable with the BSD Sockets. For that I require a complete listing of the BSD Sockets function prototypes. where can i find that. Thanks a lot.    Best Regards, Sulaiman Khan 

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

BSD Sockets API

2002-07-17 Thread Sulaiman Khan
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. Thanks. Regards, Sulaiman Khan Do You Yahoo!? Yahoo! Autos - Get free new car price quotes