Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #33269
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Martin Gregorie <martin@address-in-sig.invalid> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: multithread client socket |
| Date | Wed, 2 Dec 2015 14:38:37 -0000 (UTC) |
| Organization | A noiseless patient Spider |
| Lines | 22 |
| Message-ID | <n3mvpd$8ml$2@dont-email.me> (permalink) |
| References | <75df5111-41b9-4833-8497-69104f011d14@googlegroups.com> <n3l1rl$sda$1@news.albasani.net> <n3l5gs$9v8$1@dont-email.me> <69d9875d-3428-4f7a-8ddf-93a983091dcd@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Wed, 2 Dec 2015 14:38:37 -0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="e5160e2be48f1ea550cf61512446f525"; logging-data="8917"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18GCf6ywJb6LnLky5N3jn+AY2hHIeLStUw=" |
| User-Agent | Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) |
| Cancel-Lock | sha1:UrZizzbugprMi738n0mQsSGjRnI= |
| Xref | csiph.com comp.lang.java.programmer:33269 |
Show key headers only | View raw
On Tue, 01 Dec 2015 23:04:11 -0800, Philipp Kraus wrote: > I don't use a server socket, it is only a client socket > I should hope not! Server sockets are server's tool for being notified about incoming connections. Used by me as an illustration of how typical server logic works and why its a bad idea for a server to close connections opened by the client. When you open a Socket you pass it the address and port number of the server's ServerSocket. This accepts the connection and immediately spawns a Socket instance which gets passed to the server code that reads and responds to the client's request(s). Meanwhile the ServerSocket goes on listening for more incoming requests. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
multithread client socket Philipp Kraus <philipp.kraus.flashpixx@gmail.com> - 2015-12-01 09:36 -0800
Re: multithread client socket Eric Douglas <e.d.programmer@gmail.com> - 2015-12-01 11:58 -0800
Re: multithread client socket Philipp Kraus <philipp.kraus.flashpixx@gmail.com> - 2015-12-01 23:02 -0800
Re: multithread client socket Eric Douglas <e.d.programmer@gmail.com> - 2015-12-02 06:39 -0800
Re: multithread client socket Jan Burse <janburse@fastmail.fm> - 2015-12-01 22:01 +0100
Re: multithread client socket Jan Burse <janburse@fastmail.fm> - 2015-12-01 22:06 +0100
Re: multithread client socket Eric Douglas <e.d.programmer@gmail.com> - 2015-12-01 13:55 -0800
Re: multithread client socket Martin Gregorie <martin@address-in-sig.invalid> - 2015-12-01 22:04 +0000
Re: multithread client socket Philipp Kraus <philipp.kraus.flashpixx@gmail.com> - 2015-12-01 23:04 -0800
Re: multithread client socket Eric Douglas <e.d.programmer@gmail.com> - 2015-12-02 05:52 -0800
Re: multithread client socket Martin Gregorie <martin@address-in-sig.invalid> - 2015-12-02 14:38 +0000
Re: multithread client socket Arne Vajhøj <arne@vajhoej.dk> - 2015-12-05 20:00 -0500
csiph-web