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 a tcp client connection, not bind()ing to a specified address.
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 (wiki) about sockets. I thought open port is mean, a protocol where the client/server can establish/bind a connection even if there are nothing on the server side which can handle/response data. I thought open port is mean (if there are no routers/firewalls) a protocol which is ready to be used.
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 Transversal, I have become stumped by how connect(), accept() and listen() is done in TCP. Is it a single or multiple sockets that are used for all this in TCP and is is this done the same way in UDP
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. User A sends a file. Users B and C “see” that a file was/is being uploaded and start downloading it.
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 to do the same thing as application1. Because of this, there has to be a way to share the database to keep data in sync. I wanted to go web-based for these two applications, but the issue arises, what if the internet is down? If application1 goes down due to a blackout or lost of internet, application2 should still be able to do what it needs to. I was thinking the database/server will be on Amazon EC2.
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 region, say, even in the same neighborhood.
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 performance perspective of the system (the time it takes to transmit the data).
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).
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).
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).