The tcp tag has no wiki summary.
0
votes
1answer
37 views
Is this architecture feasible? Maintaining two tcp sockets open from the server to two clients in order to relay events between the two
Basically I need to keep track of two clients and need pass messages between the two. I am thinking of creating a tcp connection between the clients and the server and using the server to manage this ...
-1
votes
3answers
64 views
what are the limits of the client server architecture [closed]
i have developed a POS app as a stand alone app with its own database.
A customer needs 10 of the app in different PCs, but it should use one database.
This quickly brings a solution to mind. A ...
0
votes
1answer
69 views
HTTP keep alive and TCP persistent connection
What's the relationship between the two concepts?
Is one HTTP Keep-Alive connection always over a long persistent TCP connection? When the HTTP connection is closed, will the TCP connection be closed ...
18
votes
1answer
3k views
Async network programming using Reactive Extensions
After doing some (more-or-less) "low-level" async socket programming years ago (in an Event-based Asynchronous Pattern (EAP) fashion) and recently moving "up" to a TcpListener (Asynchronous ...
0
votes
0answers
135 views
listening to packets in promiscuous mode
I am working on an application that get packets that don't belong to the pc,so i use promiscuous mode on my NIC,i need to read the packet and and handle it.
Because i don't have any connection formed ...
0
votes
1answer
51 views
TCP Max SEQ number +1
I'm reading about TCP at the moment and there is a maximum sequence number 2 ^ 32, my question is what happens when the other host tries to send an acknowledgement for that sequence number 2 ^ 32 + 1? ...
1
vote
4answers
337 views
Can TCP/IP Sequence and Acknowledgement numbers be controlled?
Normally TCP/IP Sequence and Acknowledge numbers are 32 bit. However, I need a way to shorten them to be 24 bit (it's an experiment in deep inspection firewalls).
Question: Is it possible to shorten ...
0
votes
0answers
56 views
Connection Pooling
As an example, I am using PostgreSQL with an application-layer connection pool, such a a JDBC connection pool. The specific JDBC connection pool is not important. My question is more about the actual ...
0
votes
1answer
220 views
Is TCP message order still guaranteed when using async IO
Here the scenario I'm imagining. Two messages are transferred, both will require 2 packets each (I know you don't deal with packets directly with TCP, but on the IP level each message will consist of ...
0
votes
1answer
651 views
Notify client about changes in database in java
I've been searching around for the answer to this question, but haven't been able to find a solution.
I am working on a distributed client-server system that uses TCP. The program's functions is to ...
6
votes
2answers
4k views
Comparing TCP/IP applications vs HTTP applications [closed]
I'm interested in developing a large-scale user-facing website that is written in Java.
As for design, I'm thinking of developing independent, modular services that can act as data providers to my ...
12
votes
12answers
2k views
Understanding the stateless internet [closed]
I'm transitioning from being a desktop developer to a web developer, and I'm having trouble understanding why HTTP is stateless. What are the reasons for it? What are some ways a desktop developer ...
2
votes
3answers
4k views
TCP and UDP basics: connecting to a website
I am just learning computer networks so please forgive me if this question is naive. I know the TCP protocol binds itself to a port till the transfer of messages is over (port 80) and UDP is best ...
2
votes
3answers
2k views
Does data size in TCP/UDP make a difference on transmission time
While discussing the development of a network component for our game engine, a member of our team suggested that transmitting either 500 bytes or 1k of data using UDP makes no difference from ...
2
votes
1answer
162 views
Websocket protocol server development
I am interested in building a custom Websocket server for college project. I have a good familiarity about HTTP 1.1 and knows quite well of how it works. I am asking this question assuming that ...
0
votes
6answers
844 views
Looking to build a 2 java applications. should it be web-based application or standalone application?
The first application (web-based) will be located at site1 and once the information is processed, it will be sent to the second application(web-based) located at site2. Application2 needs to be able ...
0
votes
1answer
140 views
Server distribution for high performance
I've developed a Socket Application on top of TCP in .NET C#, which allows many clients to send files from one another via a VPS I'm using. Most file transfers will occur between people in the same ...
0
votes
3answers
1k views
Writing a TCP protocol or use HTTP for file transfer?
I want to write a server side application which allows several users to exchange files (not above 3MB) in the following way: user A connects to (server) S. User B connects to S. User C connects S. ...
3
votes
1answer
207 views
Sockets intricacies in TCP and UDP
I am quite familiar with TCP and UDP. I understand the process by which TCP establishes connections and other theoretical facts about TCP but when reading up about TCP hole punching for NAT ...
1
vote
1answer
1k views
Understanding open and listening ports
I developed an app in Java (which is working perfectly; with this app you can scan TCP/UDP ports -for testing purposes only-), but meanwhile when I was writing the code I read several documentation ...
2
votes
1answer
207 views
Setting source IP with posix sockets
Is it possible for an application to request a socket (tcp) and have it set the source address without using raw sockets? (the addresses would be bound to the interfaces. [no spoofing]).
This would be ...
0
votes
2answers
670 views
tcp retransmission queue
I'm trying to understand how tcp retransmission queue works so I can implement it in my application that uses TCAP over SCTP.
What I understood from the TCP queue is that every message is saved in ...
2
votes
2answers
1k views
Is TCP/IP an OSI Replacement or both are inter-dependent and meant to work together
I'm confused in differentiating the OSI Model and TCP/IP suite. As per my knowledge. OSI is a structure on top of which Networks are built and TCP/IP is the suite of protocols that operate on these 7 ...
2
votes
3answers
420 views
Creating crossplatform TCP proxy/gateway that would handle maximum possible clients simultaneously on 1GB ethernet pipe?
So what I wonder about is preaty simple - having in mind next architecture:
-> computing unit "A"
/
gateway --> computing unit "B" same as A
\
-> computing ...
1
vote
1answer
342 views
What should a programmer know about IIS and various protocols (tcp, http, etc.) when developing web apps and services, etc.?
Often one of the biggest problem areas for me when developing software (win and web) is some of the more (seemingly) abstract areas like tcp/ip, deploying to IIS and the various configurations, etc. ...