# Post data throught UDP socket

**URL:** <https://forum.sierrawireless.com/t/post-data-throught-udp-socket/1711>\
**Category:** Open AT\
**Created:** [November 14, 2007, 6:08pm UTC](https://forum.sierrawireless.com/t/post-data-throught-udp-socket/1711 "2007-11-14T18:08:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![raphael](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@raphael](https://forum.sierrawireless.com/u/raphael)\
**Post date:** [November 14, 2007, 6:08pm UTC](https://forum.sierrawireless.com/t/post-data-throught-udp-socket/1711/1 "2007-11-14T18:08:12Z")

</div>

Hey !

I’m happy to own a wavecom modem 1306B, successfully upgraded to recent WIPSOFT IP stack.

AT+WIPCFG=3  
WIP Soft v301 on Open AT OS v313  
Sep 28 2007 14:53:28 WIPlib:v3a02 WIPSoft:v2a07

I’m attempting to open an UDP connection to a WAP gateway like that with my hyperterminal :

AT+WIPCFG=1  
OK  
AT+WIPBR=1,6  
OK  
AT+WIPBR=2,6,11,“orange.acte”  
OK  
AT+WIPBR=2,6,0,“orange”  
OK  
AT+WIPBR=2,6,1,“orange”  
OK  
AT+WIPBR=4,6,0  
OK  
AT+WIPCREATE=1,1,9201,“192.168.10.200”,9201  
OK

WIPREADY: 1,1

AT+WIPDATA=1,1,1  
CONNECT

My interrogation is for the next step, read and write data ?  
The terminal doesn’t seem to be able for this task. After CONNECT received, I must reset power of the modem else I can’t submit command anymore, even “+++” string.

After, I know that I will compose my own PDU, but I’m ready with all documents from 3GPP. But how can I read and write, with a java program for exemple and some InputStream/OutputStream ?

Thanks in advance,

Raffe.
