network-protocols

Most efficient way to programatically determine if a web domain is available?

I am writing some code to determine whether a network domain is registered. For example, I want to check if "Google123.com" is available. There are at least two ways I can do this programatically, but I'm not sure which is more valid: A) In linux/cygwin, I can launch the whois command to see if a domain is in use. B) In linux/windows,...

Does anyone know of any problems with using WCF to expose a SOAP interface for non .NET clients?

Does anyone know of any problems with using WCF to expose a SOAP interface for non .NET clients? For example incompatibilities with other SOAP libraries? This is so that the SOAP interface can be exposed for third parties to integrate with our software. ...

What is the largest TCP/IP network port number allowable for IPv4?

What is the highest port number one can use? ...

What is the difference between 0.0.0.0 and 255.255.255.255 in IPv4?

I've heard some people say the IPv4 broadcast address is 0.0.0.0 and others say it is 255.255.255.255... would someone explain the real-world difference? ...

How do I know WHEN to close an HTTP 1.1 Keep-Alive Connection?

I am writing a web server in Java and I want it to support HTTP 1.1 Keep-Alive connections. But how can I tell when the client is done sending requests for a given connection? (like a double end-of-line or something). Lets see how stackoverflow handles this very obscure question -- answers for which, on Google, are mired in technical s...

What is the best SNMP library to use with .NET?

What are the best SNMP libraries to use with .NET? Specifically for listening for traps or sending set or get requests. ...

What benefits/impact will IPv6 have on application development & design?

There has been a lot of press about IPv6 and the impending switch over to IPv6 from IPv4. I have some understanding of IPv6, but I've often wondered how much impact IPv6 has on application development & design (specifically)? Are there some tangible/well known benefits IPv6 provides which we don't already have today? I know Windows Vi...

Two Computers Finding Each Other over Internet

Given two computers attached to the Internet that know nothing about each other before hand, is it possible for one computer to be able to broadcast a message so that the second computer could receive it and respond? I know UDP broadcast exsits, but I believe that those are generally filtered by the ISP before it reaches the true Intern...

how to (simply) generate POST http request from java to do the file upload

I would like to upload files from java application/applet using POST http event. I would like to avoid to use any library not included in SE, unless there is no other (feasible) option. So far I come up only with very simple solution. - Create String (Buffer) and fill it with compatible header (http://www.ietf.org/rfc/rfc1867.txt) - O...

Setting TIME_WAIT TCP

We're trying to tune an application that accepts messages via TCP and also uses TCP for some of it's internal messaging. While load testing, we noticed that response time degrades significantly (and then stops altogether) as more simultaneous requests are made to the system. During this time, we see a lot of TCP connections in TIME_WA...

SQL Server 2005 - Enabling both Named Pipes & TCP/IP protocols?

We have a SQL Server 2005 database, and currently all our users are connecting to the database via the TCP/IP protocol. The SQL Server Configuration Manager allows you to "enable" both Named Pipes, and TCP/IP connections at the same time. Is this a good idea? My question is not whether we should use named pipes instead of TCP/IP, but a...

Frameworks for network protocol fuzzing?

Can anyone recommend any programmer-friendly (i.e. extensible) frameworks or systems for performing network level packet fuzzing? I'm looking for such a system where I can program in additional packet formats and various ways of breaking those packets in a protocol-dependent manner. I know how to Google. I'm looking for specific recom...

Where is the Don't Fragment Bit of the IP Flags used?

I am curious to know where the "Don't Fragment" [DF] Bit of the IP Flags is used. As fragmentation is invisible to higher layers and they don't care too. I am also looking for an example. Thanks a lot in advance. ...

Everything a c++ developer should know about network programming?

So I am doing a lot of high performance network programming using Boost::Asio (or just Asio if you will), and have a pretty solid grasp of the essentials of both TCP and UDP protocols. I am wondering though, because I still don't consider myself an expert in networking despite my knowledge, what is a good way to frame the essentials of w...

Broadcast ARP response - will dropping it cause problems?

Are there common machines or OSs that will have problems connecting on a network where unicast ARP requests or broadcast ARP responses are not supported? I am providing a public Wi-Fi service, and considering blocking these types of ARP packet. Will this cause connectivity issues for contemporary clients? ...

During transmissions over localhost which layers are used in OSI Model?

While transmiting data via localhost address or 127.0.0.1 which layers are used in the OSI model? I believe communication starts through application layer and goes down till some layer but no data goes through physical layer, or does any? ...

Java and CANopen

Background Dear friends, I am required to create a java program on a laptop to receive/send CANopen messages. RJ45 is chosen to be the network's physical medium. I am new to CANopen and Java communications programming. Pardon me if I appear to be uninitiated. The truth is, I have been reading up a lot but I still do not know how to get ...

How to send a WOL package(or anything at all) through a nic which has no IP address?

I'm trying to send a WOL package on all interfaces in order to wake up the gateway(which is the DHCP server, so the machine won't have an IP yet). And it seems that I can only bind sockets to IP and port pairs... So the question is: How can a create a socket(or something else) that is bound to a NIC that has no IP? (Any languge is ok. ...

Where can I found the stack of protocols that ICQ using to develop my own client?

I am going to develop ICQ client and I just wonder where can I find a reference to understand the protocols they used? Any links, books, etc. And, by the way, if I am not mistaken - all ICQ clients - QIP, Miranda, ICQ Lite and others - uses the same version of protocol to communicate correctly with ICQ servers? ...

How do I construct the packets for this UDP protocol?

Valve Software's Steam Server Query protocol as documented here allows you to query their game servers for various data. This is a little out of my depth and I'm looking for a little guidance as to what I need to learn. I'm assuming I'll need socket and struct, correct? I'm comfortable with basic UDP tasks like these, so I guess my ma...