![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
|
tcp/ip and java
Can someone point me in the right diection as far as using tcp/ip with java?
Also is it possible to have a java program and not have to have the jdk installed to run it on the users system? or is there no way to package it so that you don't have to download java.
__________________
http://iBypass.org - Internet Filter Bypass |
|
|
|
|
|
#2 |
|
Expert Programmer
|
Can't help you with the first one but for the second question I think there is a way. Sorry if I am completely wrong about this but wouldn't an applet work?
|
|
|
|
|
|
#3 |
|
PFO Founder
![]() ![]() |
I dont think you need the java development kit. but you will need the java runtime on the users computer to beable to run any kind of java on there computer.
http://java.sun.com/docs/books/tutor...rking/sockets/ That link might help. if not then look thru that tutorial and im sure the info you need is there
__________________
BIG K aka Kyle Programming Forums Kyle K Online Please do not PM or email me programming questions. Post them in the forums instead. |
|
|
|
|
|
#4 |
|
Programmer
Join Date: Aug 2005
Location: 0x0010 * 0x0091 + 0x0004
Posts: 65
Rep Power: 4
![]() |
If you want a TCP connection use the Socket ServerSocket classes. If you want UDP use the DatagramPacket and DatagramSocket classes.
__________________
#if 0 /* in case someone actually tries to compile this */ <Jim_McNeat> Is there like a way to put a compiler in "Just trust me on that one" mode? |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|