server and client

is it possible to make an arduino be a client e.g. send email via telnet and also be a server e.g. hostin a webpage as well. is it possible to both of these at once. because say telnet works on port 25 and webpage works on port 80 so it should just not to sure.

thanks a lot