W5500 Execute PHP page on server?
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: W5500 Execute PHP page on server?
by becky ·
Hello,
I’m not sure if this is the information you want, but I hope it helps.
Create TCP Socket
socket(SOCK_ID_TCP, Sn_MR_TCP, source_port, 0x00);
Connect to Server
connect(SOCK_ID_TCP, 192.168.0.5, dest_port);
Send Get method to Server
send(SOCK_ID_TCP, gDATABUF + sentsize, size-sentsize);
Receive data from server
if((size = getSn_RX_RSR(sn))> 0) recv(SOCK_ID_TCP, buf, size);
Parsing received data (buf contains data including HTTP headers received from server)