Opening Sockets in Applets

hi i am trying to open scokets in Applets but i am not succesful if it is due to security reistrictions then tellhow deal with security i will be very thankful to persons those help me
[219 byte] By [aptasad] at [2007-9-30 3:50:52]
# 1
use getCodeBase() as url to open socket.CAn only open socket to server applet came from or sign the applet .
wew64 at 2007-6-29 17:09:08 > top of Java-index,Security,Signed Applets...