Find Jobs
Hire Freelancers

Convert C-Code to PHP

€30-250 EUR

Closed
Posted over 9 years ago

€30-250 EUR

Paid on delivery
I search for a Community Project "LG RoboKing Hacking" a User for converting C-Code to PHP-Code. The JSON Message Worker is attached. Preview Code to Convert: private byte[] makeHeader(byte[] paramArrayOfByte, int paramInt1, byte paramByte, short paramShort1, short paramShort2, short paramShort3, int paramInt2) { paramArrayOfByte[0] = 13; paramArrayOfByte[1] = (byte)paramInt1; paramArrayOfByte[2] = paramByte; paramArrayOfByte[3] = (byte)paramInt2; [login to view URL](paramArrayOfByte, 4, 2).order(ByteOrder.LITTLE_ENDIAN).putShort(paramShort1); [login to view URL](paramArrayOfByte, 6, 2).order(ByteOrder.LITTLE_ENDIAN).putShort(paramShort2); [login to view URL](paramArrayOfByte, 8, 2).order(ByteOrder.LITTLE_ENDIAN).putShort(paramShort3); return paramArrayOfByte; } public boolean sendData(Socket s, byte[] paramArrayOfByte) throws IOException { if (([login to view URL] == null) || ([login to view URL]()) || (![login to view URL]())) return false; try { OutputStream localOutputStream = [login to view URL](); [login to view URL](paramArrayOfByte); [login to view URL](); return true; } finally { } } public boolean sendJSONPacket(Socket s, String paramString, int paramInt) throws IOException { [login to view URL]("Send message: " + paramString); int i = paramInt + 12; byte[] arrayOfByte = makeHeader(new byte[i], 4, id, (short)0, (short)1, (short)paramInt, 0); [login to view URL]([login to view URL]([login to view URL]("UTF-8")), 0, arrayOfByte, 12, paramInt); if(id < 255) { id = (byte)(1 + id); } else id = 0; return sendData(s, arrayOfByte); }
Project ID: 6540495

About the project

3 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
3 freelancers are bidding on average €109 EUR for this job
User Avatar
Hello, i have expert knowledge of both c and php languages, hopefully i can finish this in few hours. pm me to discuss further details
€110 EUR in 2 days
4.9 (117 reviews)
6.5
6.5
User Avatar
highly professional php coder with expirience in c language (android developer)
€89 EUR in 3 days
5.0 (15 reviews)
3.9
3.9
User Avatar
Δεν έχει γίνει καμιά πρόταση ακόμα
€127 EUR in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of GERMANY
Groß Rogahn, Germany
5.0
1
Payment method verified
Member since Jul 20, 2014

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.