tcpip

how TCP port bind

Hi, Any body knows how is the port number bound with a socket in detail and how is the port used to forward the packet received in transport layer to a socket which is reading on this port? thanks. ...

Suggestions to Increase tcp level throughput

we have an application requirement where we'll be receiving messages from around 5-10 clients at a rate of 500KB/sec and doing some internal logic then distrubuting the received messages among 30-35 other network entities. What all the tcp level or thread level optimizations are suggested ? ...

How to deal with network drops and Indy IdTCPServer

I have created a Client/Server application with the IdTCPServer component. The clients connect and maintain a persistent connection through the life of the application. If the network connection is dropped (which happens quite frequently because clients connect with wireless aircards) the client will automatically re-connect. This all...

TCP/IP sockets and flash

Hi, What is the best tutorial for TCP/IP sockets and flash? My project also involves Linux server as well. I'm looking for a book or tutorial I can share with my team. Your recommendations are appreciated. Thanks, Details 'not much I can give' • Need middleware solution to send packets to Flash ...

Winsock's connect() permanently returns WSAETIMEDOUT, but PuTTY connects on the same port

Hello, Probably the weirdest bug I've encountered so far. I need to connect to some 3rd-party application running under Windows XP Embedded. Network connectivity present and works: I'm able to connect to the expected port using PuTTY running on Windows XP SP3 and perform some telnet-like operations. Now, my application is a very simple...

How to break connections TCP/IP by keepalive postgreSQL without changing anything in the register?

Hy, I have a system working with the client-server structure and PostgreSQL 8.4. My problem is that if a client is editing a record and lose his connection to the server,the TCPIP connection is still considered! So, the record stay allocated for the client in my database. I need the records to be free for edit in a few minutes. There...

VS2010 remote debugging with default transport problem

Hi, I need to do remote debugging of managed code (.NET) on a server hosted on a different network. Neither the client or server is on a domain so i have to use the public ip of the server. I'm trying to use Visual Studio -> Attach to process -> default transport with the qualifier [email protected] but it's not working. I get the error...

Is there any way to break lost or idle connections TCP/IP in the PostgreSQL 8.4 in a Windows Server 2008?

I've asked: http://stackoverflow.com/questions/3366619/how-to-break-connections-tcp-ip-by-keepalive-postgresql-without-changing-anything And now, I want to confirm: My system (C#.NET, NHibernate and Active Record) is running with a database PostgreSQL 8.4 and a Windows Server. I need a way to break idle or lost TCP/IP connections and u...

How to access loopback adapter from another PC on my LAN

I have installed MS Loop-back adapter and have given it a static IP: 10.10.10.9 my laptop is configured as 10.10.10.30 , and my gateway is 10.10.10.1 i can ping the loop-back NIC from my laptop, but not from any other machine on the LAN. i am trying to beat the 65k port limitation by seeing if i can have virtual IP addresses on one mac...

please get me the following Delphi to Java conversion

1.Client procedure TForm1.ButtonKoneksiClick(Sender: TObject); begin if ClientSocket1.Active then begin ClientSocket1.Active := false; end else begin ClientSocket1.Address := EditIPServer.Text; ClientSocket1.Port := StrToInt(EditPortServer.Text); ClientSocket1.Active := true; end; end; ...

Integrate an E-Mail server into ASP.NET

Hi, I've a general design question: I have a mailserver, written in C#. Then I have a web forum software, written in for ASP.NET in C#. Now I'd like to integrate the mailserver into the ASP.NET forum application. For example, I'd like to make it possible that one can create a mailinglist from the forum, and give users the oportunity to...

Accessing a SQL Server 2008 Express Database Using TCP/IP

VS 2010 comes with SQL 2008 Express, and upgrades existing project's databases to SQL 2008 as well (please correct me if im wrong!) - however, I now have a problem - I need to simulate a hosting situation on my PC, where a desktop application connects using TCP/IP to the SQL 2008 database. Problems 1. The database as created in VS 2010 ...

Network connection reset after intensive operation

I am doing a measurement project where I send and receive data from numerous devices on my network. The send/receive can be considered fast and intensive, as there is almost no pause and a continuous flow of data. However, the data to/from each device is quite small, on the order of a couple of bytes each. For some reason, I am experienc...

TCP/IP protocol and network topology

I am a newbie in network related aspects. I have few basic questions related to tcp/ip protocol and network If a network switch (in a LAN network) between two PC's running Client and server (that are communicating through async. sockets) is powered down. Can the client and server will be notified that the socket connection is no longer...

Sockets - IPEndpoint Port (Max Value)

What is the max value of the port i can assing on my socket when i do a bind example: int port = 0; //How far can i go? Socket m_mainSocket; m_mainSocket.Bind(new IPEndPoint(IPAddress.Parse("127.0.0.1), port)) Thanx ...

.NET Windows Service (TCPIP Server) not allowing connections from remote computers

Hi I created a .NET Windows Service and embed in it a TCP Server. The TCP Server standalone does allow both local and remote connections. The Windows Service with the TCP Server embedded, allows local connections The Windows Service with the TCP Server embedded does not allows remote connections. I tried to disable the firewall, a...

tcpip 3-way handshake

Why is data not transferred during the 3rd part of TCP 3-way handshake? e.g. (A to B)SYN (B to A)ACK+SYN (A to B) ACK.... why cant data be transferred along with this ACK? ...

Use GPRS Modem as a TCP/IP Port in Linux

Hi! A have a GPRS modem which is connected to my Linux laptop via the USB Cable. The modem is seen as an /dev/ttyUSB1 device. I can send and receive data using terminal. I can also setup the modem to create a connection to the internet immediately after power on. What i need is to use a TCP port from my java program. I want use my mode...

connecting with WCF client

I am trying to connect to a Java based service from WCF .NET client. the address of the service is something like https://xxxxx:4444/myownservice I can successfully access the WSDL on https://servername:4444/myownservice/?WSDl but when I run the proxy client , the process is timing out and gave me this error message "Could not connect ...

Post data on a forum programatically.

can you send data using libcurl on forum or any other ways like TCP/IP API? ...