Recording for java applets which are embedded in a web page

Hi,

Please let me know how to record application which is based on java applet technology and java applet communicate with server over socks connection.

We have tried recording and found below recorded scripts,

WebTcpipConnect(hWeb0, "0000:0000:0000:0000:0000:FFFF:AC1F:1078", 19000);
WebTcpipSend(hWeb0,
" WSWebTBA UP00000000014000 (Server IP) D0000 "
" 0 000NN 005300000075IWQRYTAS"
"KOBJNAME=ValLoginTO&Z1=(Server IP)&Z2=USERID=.....&USERPASS=.....&LANG=INFENG&CLIENT=(Server IP)&PORT=99"
"99");
WebTcpipRecvExact(hWeb0, NULL, 356);
WebTcpipSend(hWeb0, "UP000000000065 P 004500000008IWP4=IWS8b31be5a497&Z1=(Server IP)&Z2=G=B05 &");
WebTcpipRecvExact(hWeb0, NULL, 43142);
WebTcpipSend(hWeb0, "UP000000000065 P 004500000008IWP4=IWS8b31be5a497&Z1=(Server IP)&Z2=G=F05 &");
WebTcpipRecvExact(hWeb0, NULL, 64);

Kindly give us your valuable inputs.

Thanks...