The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
19 views

Port forwarding and C++ Winsock Client-Server applications [migrated]

As the title says, I'm creating a TCP client and a server program in C++. My question is, when running the client and server on two separate machines that go through a different firewalled router over ...
-2
votes
0answers
61 views

Maximum tcp port number constant in java [migrated]

Is there a public constant for the maximum TCP port number (65535) defined in java or a common library such as Apache Commons, that I could refer to from my code (instead of using the integer ...
0
votes
0answers
45 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
162 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 ...
17
votes
1answer
2k 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
1answer
537 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 ...
5
votes
2answers
2k 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 ...
2
votes
3answers
2k 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 ...
1
vote
4answers
264 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 ...
2
votes
3answers
1k 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 ...
1
vote
2answers
1k views

Is it a right thing to do, to use Node.JS as a TCP Server? [closed]

Part I - The Story: I have crafted a high performance TCP server in C# (based on SocketAsyncEventArgs) which works brilliantly (for my cause). I have more than 7000 clients, sending me a message ...
2
votes
1answer
137 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
1answer
134 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
6answers
735 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
3answers
944 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
193 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
808 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
181 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
556 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
889 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
379 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
303 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. ...
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 ...