|
Could someone please explain the differences between POSIX sockets and BSD sockets?
Started by mk on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
BSD Sockets....
Sockets uses the BSD interface that was developed by BBN for the TCP/IP protocol suite under DARPA contract on 4.1aBSD and released in 4.2BSD.
As reported in http://www.openss7.org/papers/strsock/sockimp.pdf :
Berkeley Sockets .
|
|
I have some code like this:
InetAddress bind = InetAddress.getByName("192.168.0.1") MulticastSocket socket = new MulticastSocket(new InetSocketAddress(bind,0)); socket.setInterface(bind);
On windows 7 and windows XP with JDK6u17,I got a SocketException...
Started by orzzzzz on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
The socket input parameter is not a valid socket handle (either ....
WinSock description: Same as Berkeley.
The specified socket parameter refers to a file, not a socket.
Was attempted on something that is not a socket.
|
|
Essentially Im trying to get many many java clients connect to a socket on my ColdFusion server (Using the Socket Gateway). However before i even start to code this, Im a little confused about sockets and their performance. First of all, are sockets meant...
Started by Faisal Abid on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Server open server socket,....
First of all, are sockets meant for many(1000+) clients connecting to one socket (say port 2202) on one server
Yes, your server will open a socket on port 2202, and 1000 client will connect to it.
|
Ask your Facebook Friends
|
Everyone referred to it as Socket Programming or Network Programming in C and we started using it by using by including sys/socket.h & netinet/in.h . We thought it was 100% true. But question raised in my mind when I saw this book
Internetworking With...
Started by claws on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
What more socket APIs are available?
There are probably" / "Socket Programming" ....
What are the differences between each of these Socket API?
Linux uses AT&T TLI anymore, if they ever did.
The APIs to accomplish that goal can vary.
|
|
What is the difference between an ordinary socket and a TCP socket?. Also in a web server like IIS, how many TCP sockets can be created in a server?. I had read somewhere that when the client connects to a web server(on port 80), the web server creates...
Started by Prashant on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
"socket" is a generic term for an....
The socket is handed off from port 80 and communication resumes on some other free port.
Can't explain details on TCP socket vs regular socket, but you are correct about the temporary port.
|
|
I wonder if the UNIX domain socket connections with postgresql are faster then tcp connections from localhost in high concurrency rate and if it does, by how much?
Answer Snippets (Read the full thread at stackoverflow):
Afaik, unix domain socket (UDS) work like system pipes and it send ONLY data.
Performance/2005-February/001143.html.
|
|
How do I go about making a socket policy file server in C#. All it has to do is listen on port 843 for the string "<policy-file-request/>" followed by a NULL byte and then return an XML string (which is the socket policy file).
I haven't coded this...
Started by dan on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
In RemoteClient, you'd have something like this:
var buffer) { //something bad happened... .
I'm going to call it RemoteClient.
In order to make a policy server, you can use the TcpListener class from the socket.
When connecting via a socket.
|
|
I wanted to know how to flush the socket streams while doing socket programming in C. I tried all the options- setting TCP_NODELAY using the following code-
setsockopt(sockfd, IPPROTO_TCP, TCP_NODELAY, (char *) &flag, sizeof(int));
Note: all the flag ...
Started by sana on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Edit: Calling send() on a TCP socket multiple times application-level acknowledgement from server back to client....
Doing a bit of research on Google, it doesn't seem like there's a way to flush a socket stream I think applies to your situation.
|
|
I'm trying to implement a socket server that will run in most shared PHP hosting.
The requirements are that the Socket server can be installed, started and stopped from PHP automatically without the user doing anything. It doesn't matter what language...
Started by bucabay on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If you want your service to run.
This is a standard daemon on my unix machines, and it will fork a process and handle the socket level details.
To write a socket server is to write an inet.d service .
|
|
I have a server-side project which must be developed on .Net platform, but I doubt about the c# socket performance, some guys told me that C# application always eat a lot of memory, especially when constantly exchanged large bunch of data in real time...
Started by speed.zheng on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
And I don't believe you will see a significant performance impact if your socket and thread models application, I use C++ Builder 5 with Socket Communication and it is just as fast and performs just be), there are events that provide error....
|