define interface socket