By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,599 Members | 1,425 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,599 IT Pros & Developers. It's quick & easy.

how to remove a socket

P: n/a
I have created a socket and now unable to remove or reuse it. the
client/server socket program executed only once and then never.
please guide me as soon as possible.

Nov 11 '06 #1
Share this Question
Share on Google+
5 Replies


P: n/a
"mayuri" <ma*******@gmail.comwrites:
I have created a socket and now unable to remove or reuse it. the
client/server socket program executed only once and then never.
please guide me as soon as possible.
Standard C doesn't support sockets. Ask in a newsgroup that deals
with your platform (comp.unix.programmer, perhaps?).

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Nov 11 '06 #2

P: n/a
we are doing socket programming in C in Linux...we are getting error
'Connection refused' for client.
what to do then?

On Nov 11, 12:17 pm, Keith Thompson <k...@mib.orgwrote:
"mayuri" <mayuri...@gmail.comwrites:
I have created a socket and now unable to remove or reuse it. the
client/server socket program executed only once and then never.
please guide me as soon as possible.Standard C doesn't support sockets. Ask in a newsgroup that deals
with your platform (comp.unix.programmer, perhaps?).

--
Keith Thompson (The_Other_Keith) k...@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Nov 11 '06 #3

P: n/a
"mayuri" <ma*******@gmail.comwrites:
On Nov 11, 12:17 pm, Keith Thompson <k...@mib.orgwrote:
>"mayuri" <mayuri...@gmail.comwrites:
I have created a socket and now unable to remove or reuse it. the
client/server socket program executed only once and then never.
please guide me as soon as possible.

Standard C doesn't support sockets. Ask in a newsgroup that deals
with your platform (comp.unix.programmer, perhaps?).

we are doing socket programming in C in Linux...we are getting error
'Connection refused' for client.
what to do then?
Top-posting corrected.

First, read the following links:

http://www.caliburn.nl/topposting.html
http://www.cpax.org.uk/prg/writings/topposting.php

Second, *pay attention*. I just told you to try a different
newsgroup. Linux is sufficiently Unix-like that comp.unix.programmer
should be a good place to ask.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Nov 11 '06 #4

P: n/a
mayuri wrote:
On Nov 11, 12:17 pm, Keith Thompson <k...@mib.orgwrote:
"mayuri" <mayuri...@gmail.comwrites:
I have created a socket and now unable to remove or reuse it. the
client/server socket program executed only once and then never.
please guide me as soon as possible.Standard C doesn't support sockets.
Ask in a newsgroup that deals with your platform (comp.unix.programmer,
perhaps?).

we are doing socket programming in C in Linux...we are getting error
'Connection refused' for client.
what to do then?
this news group discusses standard C, as defined by the ISO standard.
Sockets are not part of standard C, hence your post is off-topic.
--
Nick Keighley

Nov 13 '06 #5

P: n/a

mayuri wrote:
I have created a socket and now unable to remove or reuse it. the
client/server socket program executed only once and then never.
please guide me as soon as possible.
Reboot your system.

Or...

Read up on socket handling on your platform (which is nothing to do
with the C language itself).
If in doubt, you could start with one of W Richard Stevens' books on
Network programming.

Or...

Ask in a newsgroup relevant to your platform.

Nov 13 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.