packet « tcp « Java Network Q&A

Home
Java Network Q&A
1.API
2.bluetooth
3.Client
4.connection
5.Cookie
6.Development
7.Email
8.File
9.ftp
10.http
11.HttpClient
12.https
13.ip
14.Network
15.OS
16.RMI
17.Security
18.Server
19.Socket
20.tcp
21.UDP
22.url
Java Network Q&A » tcp » packet 

1. What libraries are available for Java that parse IP header bytes?    stackoverflow.com

On my project, we have been writing our own IP header parsing code for some time now. I'm starting to wonder if our time could be spent better elsewhere. A google ...

2. Is it possible to force a packet to be fragmented in Java?    stackoverflow.com

I have a bug which is caused by fragmented packets. I would like test this bug by creating a fragmented packet in the test and sending it to the software ...

3. How to write custom data to the TCP packet header options field with Java?    stackoverflow.com

As it is defined (see: http://www.freesoft.org/CIE/Course/Section4/8.htm) the TCP header has an 'Options' field. There are a couple of options already defined (see: www.iana.org/assignments/tcp-parameters/) but I want to come up ...

4. Read the packets of bytes on client socket from server socket for connection oriented (TCP) client/server?    stackoverflow.com

i m creating connection oriented server/client(TCP) socket.i have created whole server socket and i have written packet on server socket successfully and i have created client socket also but i m ...

5. how to read packets on client socket from server socket (in connection oriented (TCP))    stackoverflow.com

i m creating connection oriented server/client(TCP) socket.i have created whole server socket and i have written packet on server socket successfully and i have created client socket also but i m ...

6. What would be better in Java for networking? UDP or TCP?    stackoverflow.com

What should be used for a mmo game in java. UDP or TCP? And why? TCP is a point-to-point relationship and carries every packet through while UDP has no point-to-point relationship ...

7. Sending packets over TCP socket    stackoverflow.com

I'm writing this tiny utility method to test sending raw packets to a specific messaging network (planning on developing a client to connect to it). The network is the Deviantart messaging network ...

8. Predicting Network traffic overhead generated by a Java Application    stackoverflow.com

I want to attempt to calculate how much data (bytes) I send/receive over the network. I send/receive both TCP and UDP packets, so I need to be able to calculate the ...

9. Missing/Dropping packets when using Java Client to read over TCP    stackoverflow.com

I'm changing a C++ client to a Java version - just an exercise I'm trying more than anything else. The orginal C++ code works perfectly well. The Servce side sends a ...

10. How can I verify that a TCP packet has received an ACK in JAVA?    stackoverflow.com

After sending some tcp data by any method (mine is below)

DataOutputStream outToServer = new DataOutputStream(clientSocket.getOutputStream());
outToServer.writeBytes(string);
How can I verify in JAVA that TCP data is sent successfully? OR is there any way ...

11. Ensuring no packet loss between TCP client and server    stackoverflow.com

I am writing a Java TCP client which sends chunks of data to a C server. The client-server worked very well on my development PC. This code upon deployment on a ...

12. Corrupted TCP packets during FLOODING attack: C Server Java Client    stackoverflow.com

This post is related to Ensuring no packet loss between TCP client and server where I have posted the code for C server(see answer) and Java client which is working ...

13. How to deal with the JPCAP library and TCPPackets? netresearch.ics.uci.edu is down    stackoverflow.com

I want to create a TCP SYN Packet with the jpcap library. The problem is that netresearch.ics.uci.edu is down, which seems to be the only source for tutorials, examples etc. Where can ...

14. How to read contents of TCP packets in Internet    coderanch.com

Hi Hari, Welcome to JavaRanch, the absolute best site on the www for Java information. We don't have many rules around here, but we do have one. Please change your display name to a first and last name to comply with the JavaRanch Naming Policy. You can change it here. Thank you for your cooperation. Java is not well suited for ...

15. decode TCP packets    coderanch.com

16. decode TCP packets    coderanch.com

17. udp packet to tcp packet conversion    coderanch.com

Yes, they're on the same level with respect to ISO/OSI, but TCP has features UDP doesn't - so you can't easily convert a UDP stream to a TCP stream. I'm not sure what socat does, but Java doesn't have access to raw TCP or UDP packets anyway; you'd need to resort to a JNI-based solution.

18. How to simulate packet loss in TCP?    forums.oracle.com

Hello all, i hv configured a simple server-client using a TCP protocol. basically, Server replied to client request. it works fine. Now, if i would like to demonstrate the packet loss occur in the server side... how to do that? could someone provide a simple example on how this could be done? Thanks Gents. Audrea.

19. how to send packet using tcp socket ?    forums.oracle.com

20. tcp packets    forums.oracle.com

hELLO, I use tcp for transfering a java object I serialise first tne object and then I send it, to the server but the server receive multiple mesages he read byte from input stream but he must know when stopping and unmarshalling to java object and read the followinng perhapas we ca add delimiters ( begin and end) but then I ...

21. Socket stops ACK'ing TCP packets    forums.oracle.com

Socket doesn't ACK TCP packets Please se the following image showing a CommWiev logging of a TCP session: [http://ingvild.novatron.no/TCP%20Session%2024112011_1043.PNG] As you may see at the bottom of the logging, it ends up with the server side (right side) sending packet after packet but the Socket (left side) stops ACK'ing the packtes after some time. Finally, the server has sent the last ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.