From 08a86530d7d8237ee52b1db8a8d0641464e8a64f Mon Sep 17 00:00:00 2001 From: fadhil riyanto Date: Mon, 7 Oct 2024 11:24:46 +0700 Subject: add \r\n\r\n detection Signed-off-by: fadhil riyanto --- test/connect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/connect.c') 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); -- cgit v1.2.3