@@ -0,0 +1,910 @@
+package com.getyourlocation.app.serviceserver.util;%0A%0Aimport java.io.*;%0Aimport java.net.Socket;%0Aimport com.getyourlocation.app.serviceserver.business.entity.Point;%0A%0Apublic class GetShopLocation %7B%0A    public static Point GetShopLocation(byte%5B%5D imgbyte) throws IOException %7B%0A        Socket client;%0A        client = new Socket(%22127.0.0.1%22, 8000);%0A        BufferedOutputStream out = new BufferedOutputStream(client.getOutputStream(), 8*1024*1024);%0A        BufferedInputStream buf = new BufferedInputStream(client.getInputStream());%0A        // push img to ShopPositioningServer%0A        out.write(imgbyte);%0A        out.flush();%0A        // get shop position from ShopPositioningServer%0A        byte%5B%5D pointsInfo = new byte%5B1024%5D;%0A        buf.read(pointsInfo);%0A        // TODO : process the bytes%0A%0A        //String str = new String(pointsInfo);%0A        //System.out.println(str);%0A        return new Point(1, 1);%0A    %7D%0A%7D%0A

add socket GetShopLocation