Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
25 views

questions about ip fragmentation and tcp segmentation

I am writing an application that require me to implement the reconstruction of tcp segments and ip fragments. The application sniff either udp or tcp(only one type at a time) I couldn't figure out ...
0
votes
0answers
57 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
28 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? ...
0
votes
0answers
52 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
172 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
590 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
3k 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
3k 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
305 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
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 ...
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
145 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
136 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
781 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
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
197 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
872 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
188 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
600 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
937 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
395 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
318 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 ...