summaryrefslogtreecommitdiff
path: root/test/connect.c
diff options
context:
space:
mode:
authorfadhil riyanto <me@fadev.org>2024-10-07 11:24:46 +0700
committerfadhil riyanto <me@fadev.org>2024-10-07 11:24:46 +0700
commit08a86530d7d8237ee52b1db8a8d0641464e8a64f (patch)
tree0fb54fe5d9e490421dc30a9c2db12ffd17e0f65c /test/connect.c
parent7273e70e79f400ad1f8472aff00cbf9933a6aef2 (diff)
add \r\n\r\n detection
Signed-off-by: fadhil riyanto <me@fadev.org>
Diffstat (limited to 'test/connect.c')
-rw-r--r--test/connect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/connect.c b/test/connect.c
index 01e2d2c..5b2ddf3 100644
--- a/test/connect.c
+++ b/test/connect.c
@@ -14,8 +14,8 @@ int main(int argc, char *argv)
struct sockaddr_in serv_addr;
memset(&serv_addr, 0, sizeof(struct sockaddr_in));
- serv_addr.sin_addr.s_addr = inet_addr("127.0.0.1");
- serv_addr.sin_port = htons(8000);
+ serv_addr.sin_addr.s_addr = inet_addr("93.184.215.14");
+ serv_addr.sin_port = htons(443);
serv_addr.sin_family = AF_INET;
socklen_t len = sizeof(struct sockaddr_in);