Hello friends, i want to know which one is better; PHP or ASP.NET. what i am trying to implement with the two languages is a socket operation. For example, in PHP, i can do something like the f_sock_open($host, $port) and use the fread() and fwrite() function to do the reading and writing to the socket.
I want to perform this kind of task also using ASP.NET because i am using PHP to perform the socket operation and it seems to be a bit slow. So i want to know if ASP.NET will be faster with this same type of operation.
Note that the socket operation will be used several times e.g. it may process up to 100 requests in a minute. So, which one will be better for me to use? PHP or ASP.NET