GPS+mini2440+WiFi

ilia
Hi
I have connected L10(GPS Module) to mini2440 using uart interface and I can
receive and see data on CMD. 

Now, I want to transfer this data on WiFi module which is a Nano station M2
and I have connected this WiFi module using a LAN with mini2440.

How can I transfer data from GPS to Nano Station?
Should I write a socket program?

I sincerely look forward for your kind answers.
Best regards.