Sometimes back I had to work on plain TCP/IP client-server application using just .Net framework 2.0. I found that .net 2.0 socket library was quite inefficient and used to take lot of memory and processing cycles we then switched over to C++ and it worked very well.
I want to check if there's been any improvements for TCP/IP library i...
Hello all
On my Unix web server, I have two MySQL database servers running. One on port 3306, and another on 3307. I wanted to specify the port number of database to connect in /config/database.php of codeigniter.
I tried this....
$database['hostname'] = "localhost:3307";
This did not work. The webapp connected to database on port 3...
can u kindly explain me the concept of nagle algorithm in tcp/ip,with an example?
...
I noticed there is LWIP, a light weight TCP/IP stack for embedded systems. So I am wondering are there any other network stacks, which can replace the default Linux stack? And how do they perform? What's the pros and cons of them?
THX!
--wbsun
...
I have been trying to find some way of redirecting outbound TCP packets under windows, but so far have not been successful. Does anyone know of any software/code bit that would do something like that?
I am not even sure it is possible with the windows stack.
I am looking at doing something similar to what "-j REDIRECT" is to iptables.
...
RFC1323 is not supported on winnt 4.
However I have heard there is a patch that enables it (some say SP3). I have SP6 and its not enabled and there are no Tcp1323Opts parameters in tcpip service registry.
Apparently it was a 3rd party hack/patch. Does anyone know if it exists?
...
The Linux file /proc/net/dev reads like this:
[me@host ~]$ cat /proc/net/dev
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
What do fields drop and errs mean?
Are some errs packets ...
Hi,
Can someone point me some c++ samples or some c++ librarys that can transport video and voice over a LAN network.
My objective is to activate a web cam in another pc and receive in my pc the video and voice of the another pc (this can be only one way or in both ways pc to pc call, but i only need one way for now, only see and hear ...
Describe each mode.
Give examples of protocols that implement the various modes of TCP/IP operation.
...
Hi All
I am in need of some websites where I can buy C# WinForms networking libraries/components/dll's from. Can anybody please suggest any? They should be pretty cheap, but any and all links are welcome :)
I can only find one website, and I don't like the look of what they have.
Thank you
...
Hey, how do you get the IP address of the person making a request in something like the following:
[ServiceContract]
[AspNetCompatibilityRequirements(RequirementsMode =
AspNetCompatibilityRequirementsMode.Required)]
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall)]
public partial c...
How to elicit user's information when he/she is visiting your website?
IP Address
Mac Address
User Profile Name
OS Name
OS version
OS Registered to (Name/Company)
Computer Name
Browser Name
Browser Version
ISP Name/Internet Connection Provider Name
Connection Type
Location - City/Country (based on IP)
...
One of the tools I am using uses encryption/decryption to send out data over the network. I am modifying the tool and I need to be sure that the data is actually being sent in an encrypted form.
Are Wireshark and tcpdump the right tools for the purpose? At which point during the transfer do they capture the network packets?
...
The bits in Ethernet are transferred in LSB first fashion, but IPv4 datagram is to be transmitted in big endian byte order.
e.g.
assume an ethernet frame with destination address as 12-34-56-78-9A-BC carrying an IP datagram in the data field. As I understand following will be the order in which the bits will be transmitted:
preamble-SF...
If a TCP socket server listens on port 28081 for incoming connections and then accepts a connection and start receiving data. Is the port that data is coming into still 28081 or does the port get changed.
for example what port does the incoming data come to in the pseudo code below? Is it still 28081 or does the OS assign a new port?:...
When I use netcat to send a udp query I get a full response. When I use UDPCLIENT class in c#, i dont receieve the full response, it is cut short. Here is my code
byte[] data = new byte[1024];
string stringData;
UdpClient server = new UdpClient(currentIP, currentport);
IPEndPoint send = new IPEndPo...
Hi,
I'm a bit of a network n00b, so please be gentle and explain things in a really, REALLY dummy way (it seems to me that every time it comes to network related stuff, people start talking a totally different language). I'm a fairly experienced C# programmer, but lacks some skill when it comes to communication between machines.
The sc...
I'm looking for a way to connect 1 browser to another without having to incur the network delay of having a server in between.
It doesn't look like HTML5 WebSockets will work because I couldn't find a way to listen for connections in Javascript, only establish a connection.
Does anyone know how to do this? (Connect 2 browsers directly?...
I have written a TCPIP server that implements a FileSystemWatcher and fills a queue with data parsed from new files acquired by the FSW.
A single client will connect to this server and ask for data from the queue (no other client will need to connect at any time). If no data exists, the client will wait (1 second) and try again.
Both ...
Hello, I am making a PHP frontend for a backend server using a custom protocol over TCP. Due to a fairly complex handshake when establishing connections to the backend server, I would like to persist the TCP connections to the backend server. Naturally, given the inherently stateless nature of HTTP (and especially so when using mod_php u...