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
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
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
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
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 "-
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
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
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
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
-- 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"
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
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'
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
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
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
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&
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
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
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
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
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
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.
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
...
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
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
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
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
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
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
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
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
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
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
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
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
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
> 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
>
> >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
"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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
>
> 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
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
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
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
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
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
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
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
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
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
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
--- 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 ---
___
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
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
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
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
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
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
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
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
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
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
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
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
80 matches
Mail list logo