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

sockets

P: n/a
hi,
I have a question about C sockets. Is this possible:
1. start application, and establish socket connection.
2. quit application, without closing connections (!!)
3. restart application, and continue using old connections?

I know it sounds strange, but can it be done?

Andreas
Nov 14 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Andreas Røsdal <an******@stud.ntnu.no> scribbled the following:
hi,
I have a question about C sockets. Is this possible:
1. start application, and establish socket connection.
2. quit application, without closing connections (!!)
3. restart application, and continue using old connections? I know it sounds strange, but can it be done?


This is a question about implementation-specific extensions. Please ask
in a newsgroup dedicated to your own implementation.

--
/-- Joona Palaste (pa*****@cc.helsinki.fi) ------------- Finland --------\
\-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
"The obvious mathematical breakthrough would be development of an easy way to
factor large prime numbers."
- Bill Gates
Nov 14 '05 #2

P: n/a
I think it's impossible,cos all the resource will be set free after quit
the application.
"Andreas Røsdal" <an******@stud.ntnu.no> ????
news:Pi******************************@tiger.stud.n tnu.no...
hi,
I have a question about C sockets. Is this possible:
1. start application, and establish socket connection.
2. quit application, without closing connections (!!)
3. restart application, and continue using old connections?

I know it sounds strange, but can it be done?

Andreas

Nov 14 '05 #3

P: n/a
Andreas Røsdal wrote:

hi,
I have a question about C sockets. Is this possible:

There're no such things as C sockets. Some platforms provide socket
libraries, but each will have its own interface and properties. You need
to find a newsgroup dedicated to your platform.

If you are asking about BSD sockets, comp.unix.programmer would be
appropriate.


Brian Rodenborn
Nov 14 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.